package com.debao;

import com.debao.system.domain.StadiumTable;
import com.debao.system.service.IStadiumTableService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 桌台
 */
@RestController
@RequestMapping("/api/table")
public class ApiStadiumTable {
    @Autowired
    private IStadiumTableService stadiumTableService;

    /**
     * 获取桌台列表
     * @param stadiumTable
     * @return
     */
    @RequestMapping("/list")
    public Object list(StadiumTable stadiumTable) {
        return stadiumTableService.selectStadiumTableList(stadiumTable);
    }


}
